<template>
    <div class="container mx-auto">
        <el-button @click="signOut">sign out</el-button>
    </div>
</template>

<script setup>
function signOut() {
    useCookie('token').value = null
    navigateTo('/')
}
</script>